package com.jvup.gameshow.dal;

import com.jvup.common.constant.Url;
import com.jvup.gameshow.model.vo.RegisterVO;
import com.jvup.gameshow.model.vo.UserVO;
import com.qire.antsbinder.dal.annotation.DataAccess;
import com.qire.antsbinder.dal.annotation.ParamsAlias;

public interface IUserDataDAL {

    @DataAccess(url = Url.registerAPI)
    RegisterVO register(@ParamsAlias(name = "username") String username,
                        @ParamsAlias(name = "password") String password,
                        @ParamsAlias(name = "mobile")String mobile);

    @DataAccess(url = Url.qqLoginAPI)
    UserVO qqLogin(@ParamsAlias(name = "qqId")String qqId);

    @DataAccess(url = Url.weChatLoginAPI)
    UserVO weChatLogin(@ParamsAlias(name = "wechatId") String weChatId);

    @DataAccess(url = Url.phoneLoginAPI)
    UserVO phoneLogin(@ParamsAlias(name = "userId") String username, @ParamsAlias(name = "password") String password);

}
